import React, { Component } from 'react'

export default class App extends Component {
  render() {
    console.log('#1 redner')
    return (
      <div>
        App
        <button
          onClick={() => {
            this.forceUpdate()
          }}
        >
          强制更新
        </button>
      </div>
    )
  }
  componentDidUpdate() {
    console.log('#2 componentDidUpdate')
  }
}
